This was part of the original MxWidget import, but we never used
it for anything. After more than 15 years it is unlikely that we
are going to start, so remove it.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3792>
st_button_style_changed (StWidget *widget)
{
StButton *button = ST_BUTTON (widget);
- StButtonClass *button_class = ST_BUTTON_GET_CLASS (button);
ST_WIDGET_CLASS (st_button_parent_class)->style_changed (widget);
/* update the label styling */
st_button_update_label_style (button);
-
- /* run a transition if applicable */
- if (button_class->transition)
- {
- button_class->transition (button);
- }
}
static void
{
StBinClass parent_class;
- /* vfuncs, not signals */
- void (* transition) (StButton *button);
-
/* signals */
void (* clicked) (StButton *button, int clicked_button);
};